package com.ruoyi.student.service;

import java.util.List;
import com.ruoyi.student.domain.Studenttracklog;
import com.ruoyi.student.dto.StudentTrackDto;

import javax.servlet.http.HttpServletRequest;

/**
 * 跟踪表Service接口
 * 
 * @author hoyo
 * @date 2022-12-29
 */
public interface IStudenttracklogService 
{
    /**
     * 查询跟踪表
     * 
     * @param id 跟踪表主键
     * @return 跟踪表
     */
    public Studenttracklog selectStudenttracklogById(Long id);

    /**
     * 查询跟踪表列表
     * 
     * @param studenttracklog 跟踪表
     * @return 跟踪表集合
     */
    public List<Studenttracklog> selectStudenttracklogList(Studenttracklog studenttracklog);

    /**
     * 新增跟踪表
     * 
     * @param studenttracklog 跟踪表
     * @return 结果
     */
    public int insertStudenttracklog(Studenttracklog studenttracklog);

    /**
     * 修改跟踪表
     * 
     * @param studenttracklog 跟踪表
     * @return 结果
     */
    public int updateStudenttracklog(Studenttracklog studenttracklog);

    /**
     * 批量删除跟踪表
     * 
     * @param ids 需要删除的跟踪表主键集合
     * @return 结果
     */
    public int deleteStudenttracklogByIds(Long[] ids);

    /**
     * 删除跟踪表信息
     * 
     * @param id 跟踪表主键
     * @return 结果
     */
    public int deleteStudenttracklogById(Long id);

    /**
     * 添加跟踪表
     * @param studentTrackDto
     */
    void saveStudenttrack(StudentTrackDto studentTrackDto);

    /**
     * 通过学生id查询
     * @param id
     * @return
     */
    List<Studenttracklog> getStudenttrackstuSn(Long id);
}
